'Declaration
<CanBeNullAttribute()> <ContractAnnotationAttribute("null => null; notnull => notnull")> Public Shared Function ToValueResult( _ ByVal attributeDataResult As UAAttributeDataResult(Of T) _ ) As ValueResult(Of T)
'Usage
Dim attributeDataResult As UAAttributeDataResult(Of T) Dim value As ValueResult(Of T) value = UAAttributeDataResult(Of T).ToValueResult(attributeDataResult)
[CanBeNull()] [ContractAnnotation("null => null; notnull => notnull")] public static ValueResult<T> ToValueResult( UAAttributeDataResult<T> attributeDataResult )
[CanBeNull()] [ContractAnnotation("null => null; notnull => notnull")] public: static ValueResult<T^>^ ToValueResult( UAAttributeDataResult<T^>^ attributeDataResult )
Parameters
- attributeDataResult
- The OPC-UA typed attribute data result to be converted.
Return Value
The typed value result object that corresponds to the typed attribute data result.
null
if the attribute data result passed in was null
.